package Model.CSVReport;

import Model.OrcUtils.JDBCUtils;

import java.util.List;

public class test {
    public static void main(String[] args) {
        String path = "C:\\Users\\横道世之界Zz\\Desktop";

        boolean b = false;
        String[] paths = {path+"\\MEMBERCARD.csv",path+"\\TAKINGCARD.csv",path+"\\MEMBER.csv",};
        String sql = "select * from MEMBERCARD";
        List<String> head = JDBCUtils.getHead(sql);
        String[] s = head.toArray(new String[head.size()]);
        List<String> data = JDBCUtils.JDBCselect(sql,String.class);
        for (String a : data){
            System.out.println(a);
        }
    }
}
